package com.noble.meether.db.callbace;

import com.noble.meether.chat.msgtype.base.BaseMessage;

import java.util.List;

/**
 * 数据库查询结果回调
 */
public interface DBQueryCallback {

    void onFailure(int code, String message);

    void onSuccess(List<BaseMessage> data);
}
